﻿<%@ Page Language="C#" Theme="skin_control" AutoEventWireup="true" CodeFile="NoEvaluateQuarterPlan.aspx.cs"
    Inherits="QuarterPlan_NoVerifyQuarterPlan" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>未评估的年计划</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table cellpadding="0" cellspacing="0" border="0" width="100%">
                <tr>
                    <td class="firstbjcolor" style="height: 14px; width: 100%;" colspan="4">
                        <span class="currentHere">当前位置:年计划管理-&gt;待处理部门年计划</span></td>
                </tr>
                <tr>
                    <td style="height: 1; width: 100%;" colspan="4"></td>
                </tr>
                <tr>
                    <td style="background-image: url(../images/secondRow.gif); background-repeat: repeat-x; height: 30px;"
                        colspan="4">
                        <asp:DropDownList ID="drpType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpType_SelectedIndexChanged">
                            <asp:ListItem Value="1">待审核</asp:ListItem>
                            <asp:ListItem Value="0">待评估</asp:ListItem>
                        </asp:DropDownList>年份:<asp:DropDownList ID="drpYear" runat="server" AutoPostBack="True"
                            OnSelectedIndexChanged="drpYear_SelectedIndexChanged" SkinID="dropdownlistSkin">
                        </asp:DropDownList>年周期:<asp:DropDownList ID="drpQuarterDate" runat="server" AutoPostBack="True"
                            OnSelectedIndexChanged="drpQuarterDate_SelectedIndexChanged" SkinID="dropdownlistSkin">
                        </asp:DropDownList>
                        <asp:CheckBox ID="ckbAllSelect" runat="server" Text="全选" AutoPostBack="True" OnCheckedChanged="ckbAllSelect_CheckedChanged"
                            SkinID="checkboxSkin" />
                        <asp:Button ID="btnOk" runat="server" Text="通过" OnClick="btnOk_Click" SkinID="buttonSkin" />
                        &nbsp;<asp:Button ID="btnReturn" runat="server"
                            Text="退回" OnClick="btnReturn_Click" SkinID="buttonSkin" OnClientClick="return confirm('确认要退回吗？');" />
                        <asp:Button ID="btnVerifyCircuit" runat="server" SkinID="buttonSkin" Text="流程" OnClick="btnVerifyCircuit_Click" />
                        <asp:Button ID="btnModify" runat="server" OnClick="btnModify_Click" SkinID="buttonSkin"
                            Text="修改" />
                    </td>
                </tr>
                <tr>
                    <td style="width: 100%" colspan="4">
                        <asp:GridView ID="gdvQuarterPlan" runat="server" AutoGenerateColumns="False" OnPageIndexChanging="gdvQuarterPlan_PageIndexChanging"
                            Width="100%" SkinID="gridviewSkin" DataKeyNames="QuarterPlanId,AttachmentPath,VerifyPeopleOpinion,Source,TotalPlanId,CheckNote">
                            <Columns>
                                <asp:TemplateField HeaderText="选择">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="ckbSelect" runat="server" SkinID="checkboxSkin" />
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="4%" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="4%" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="QuarterPlanSortId" HeaderText="计划编号">
                                    <HeaderStyle Width="4%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle HorizontalAlign="Center" Width="4%" VerticalAlign="Middle" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="StartTime" HeaderText="开始时间" DataFormatString="{0:yyyy-MM-dd}"
                                    HtmlEncode="False">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" DataFormatString="{0:yyyy-MM-dd}"
                                    HtmlEncode="False">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="计划来源">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lbtnSourceShenhe" runat="server" OnClick="lbtnSourceShenhe_Click"></asp:LinkButton>
                                    </ItemTemplate>
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="8%" Wrap="True" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="WorkItem" HeaderText="计划名称">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="10%" Wrap="True" />
                                </asp:BoundField>
                                <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门">
                                    <HeaderStyle Width="8%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="8%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                </asp:BoundField>
                                <asp:BoundField DataField="MasterPeople" HeaderText="责任人">
                                    <HeaderStyle Width="5%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="5%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="SlaveDepartment" HeaderText="配合部门">
                                    <HeaderStyle Width="9%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="9%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="6%" Wrap="True" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="查看年分解">
                                    <ItemTemplate>
                                        <asp:Button ID="btnSelectResolvQuarterPlan" runat="server" OnClick="btnSelectResolvQuarterPlan_Click"
                                            Text="查看分解" Width="50%" SkinID="buttonSkin" />
                                        <asp:Label ID="lblTopic" runat="server" Text="无分解计划" Visible="False"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="8%" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="8%" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="Remart" HeaderText="备注">
                                    <HeaderStyle Width="6%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="6%" HorizontalAlign="Left" Wrap="True" VerticalAlign="Middle" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="附件">
                                    <ItemTemplate>
                                        <asp:Button ID="btnDownLoad" runat="server" OnClick="btnDownLoad_Click" Text="下载"
                                            SkinID="buttonSkin" />
                                        <asp:Label ID="lblAlert" runat="server" Visible="False" SkinID="labelSkin"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="6%" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="6%" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="审核意见">
                                    <ItemTemplate>
                                        <asp:TextBox ID="txtVerifyPeopleOpinion" runat="server" Height="80%" TextMode="MultiLine" Width="90%"
                                            SkinID="textboxMultiLineSkin"></asp:TextBox>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="12%" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="12%" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="QuarterPlanId" HeaderText="id" Visible="False" />
                                <asp:BoundField DataField="Source" HeaderText="Source" Visible="False" />
                                <asp:BoundField DataField="TotalPlanId" HeaderText="TotalPlanId" Visible="False" />
                                <asp:BoundField DataField="CheckNote" Visible="False" />
                                <asp:BoundField DataField="VerifyPeopleOpinion" Visible="False" />
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td style="width: 100%" colspan="4">
                        <asp:GridView ID="gdvEvaluateCheckNote" runat="server" AutoGenerateColumns="False"
                            Width="100%" SkinID="gridviewSkin" DataKeyNames="QuarterPlanId,PlanSendState,NoCompleteCount,AttachmentPath,Source,TotalPlanId">
                            <Columns>
                                <asp:TemplateField HeaderText="选择">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="ckbSelect" runat="server" SkinID="checkboxSkin" />
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="4%" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="4%" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="QuarterPlanSortId" HeaderText="计划编号">
                                    <HeaderStyle Width="4%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle HorizontalAlign="Center" Width="4%" VerticalAlign="Middle" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="StartTime" HeaderText="开始时间" DataFormatString="{0:yyyy-MM-dd}"
                                    HtmlEncode="False">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" DataFormatString="{0:yyyy-MM-dd}"
                                    HtmlEncode="False">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="计划来源">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lbtnSourceChuli" runat="server" OnClick="lbtnSourceChuli_Click"></asp:LinkButton>
                                    </ItemTemplate>
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="8%" Wrap="True" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="WorkItem" HeaderText="计划名称">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="12%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="12%" Wrap="True" />
                                </asp:BoundField>
                                <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门">
                                    <HeaderStyle Width="8%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="8%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                </asp:BoundField>
                                <asp:BoundField DataField="MasterPeople" HeaderText="责任人">
                                    <HeaderStyle Width="5%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="5%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="SlaveDepartment" HeaderText="配合部门">
                                    <HeaderStyle Width="9%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="9%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="True" />
                                </asp:BoundField>
                                <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="6%" Wrap="True" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="查看年分解">
                                    <ItemTemplate>
                                        <asp:Button ID="btnSelectResolvQuarterPlan" runat="server" OnClick="btnSelectResolvQuarterPlanEvaluate_Click"
                                            Text="查看分解" Width="90%" SkinID="buttonSkin" />
                                        <asp:Label ID="lblTopic" runat="server" Text="无分解计划" Visible="False"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="8%" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="8%" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="Remart" HeaderText="备注">
                                    <HeaderStyle Width="6%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="6%" HorizontalAlign="Left" Wrap="True" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="附件">
                                    <ItemTemplate>
                                        <asp:Button ID="btnDownLoad1" runat="server" OnClick="btnDownLoad1_Click" Text="下载"
                                            SkinID="buttonSkin" />
                                        <asp:Label ID="lblAlert1" runat="server" Visible="False" SkinID="labelSkin"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="6%" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="6%" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="处理">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="dropZhuangTai" runat="server">
                                            <asp:ListItem Value="3">请选择</asp:ListItem>
                                            <asp:ListItem Value="4" Selected="True">圆满完成</asp:ListItem>
                                            <asp:ListItem Value="5">顺利进行</asp:ListItem>
                                            <asp:ListItem Value="6">有障碍</asp:ListItem>
                                            <asp:ListItem Value="7">失控</asp:ListItem>
                                            <asp:ListItem Value="8">计划调整</asp:ListItem>
                                        </asp:DropDownList><br />
                                        <asp:TextBox ID="txtCheckNote" runat="server" Height="50px" TextMode="MultiLine"
                                            Width="90%" SkinID="textboxMultiLineSkin"></asp:TextBox><br />
                                        <asp:Button ID="btnTiJiao" runat="server" Text="提交" OnClick="btnTiJiao_Click" Width="50%"
                                            SkinID="buttonSkin" OnClientClick="return confirm('确认要提交吗？');" />
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="10%" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="QuarterPlanId" HeaderText="id" Visible="False" />
                                <asp:BoundField DataField="PlanSendState" HeaderText="PlanSendState" Visible="False" />
                                <asp:BoundField DataField="NoCompleteCount" HeaderText="NoCompleteCount" Visible="False" />
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
